package cn.com.cifi.mars.entity;
import java.io.Serializable;
import java.time.LocalDateTime;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * <p>
 * 项目回款系数表
 * </p>
 *
 * @author JingYuanXiang
 * @since 2020-11-05
 */
@Data
@TableName("t_project_return_coefficient")
public class ProjectReturnCoefficient implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.INPUT)
    private String id;

    @ApiModelProperty(value = "版本类型：投资正式版、调整版、实际版")
    private String versionType;

    @ApiModelProperty(value = "版本号")
    private String versionNum;

    @ApiModelProperty(value = "项目Id")
    private String projectId;

    @ApiModelProperty(value = "版本状态")
    private String versionState;

    @ApiModelProperty(value = "所属城市ID")
    private String cityId;

    @ApiModelProperty(value = "取数来源（明源/NOS）")
    private String dataSource;
    @ApiModelProperty(value = "审批时间")
    private LocalDateTime approvalTime;

    @ApiModelProperty(value = "同步时间")
    private LocalDateTime syncTime;

    @ApiModelProperty(value = "版本归属时间yyyy-MM")
    private String affiliationMonth;

    @ApiModelProperty(value = "创建人员")
    private String createBy;

    @ApiModelProperty(value = "创建时间")
    private LocalDateTime createTime;

    @ApiModelProperty(value = "创建方式 （automatic_create：自动创建、manual_create：手动创建)")
    private String versionCreate;

    @ApiModelProperty(value = "更新人员")
    private String updateBy;

    @ApiModelProperty(value = "更新时间")
    private LocalDateTime updateTime;

    @ApiModelProperty(value = "是否删除")
    private Integer isDelete;

    @ApiModelProperty(value = "备注说明")
    private String description;

    @TableField(exist = false,value="区域id")
    private String regionId;

    @TableField(exist = false,value="区域名称")
    private String regionName;

    @TableField(exist = false,value="城市公司id")
    private String cityCompanyId;

    @TableField(exist = false,value="城市公司名称")
    private String cityCompanyName;

    @TableField(exist = false,value = "项目编码")
    private String projectCode;

    @TableField(exist = false,value = "项目名称" )
    private String projectName;

}
